#!/bin/sh

sudo sh -c 'echo -e "[archlinuxcn]\nServer = http://mirrors.163.com/archlinux-cn/\$arch" >> /etc/pacman.conf'
sudo pacman -Syu archlinuxcn-keyring && sudo pacman -S yay